home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / boolsum.6 < prev    next >
Text File  |  1996-07-16  |  2KB  |  48 lines

  1. .TH BOOLSUM
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. BOOLSUM
  5.  
  6.  
  7.  
  8.  SurfaceType BOOLSUM( CurveType Crv1, CurveType Crv2,
  9.                       CurveType Crv3, CurveType Crv4 )
  10.  
  11. Construct a surface using the provided four curves as its four boundary
  12. curves. Curves do not have to have the same order or type, and will be
  13. promoted to their least common denominator. The end points of the four
  14. curves should match as follows:
  15.  
  16.     Crv1 start point,              to Crv3 start point.        
  17.     Crv1 end point,                to Crv4 start point.        
  18.     Crv2 start point,              to Crv3 end point.          
  19.     Crv2 end point,                to Crv4 end point.          
  20.  
  21. where Crv1 and Crv2 are the two boundaries in one parametric
  22. direction, and Crv3 and Crv4 are the two boundaries in the other
  23. parametric direction.
  24.  
  25. Example:
  26.  
  27.     Cbzr1 = cbezier( list( ctlpt( E3, 0.1, 0.1, 0.1 ),
  28.                            ctlpt( E3, 0.0, 0.5, 1.0 ),
  29.                            ctlpt( E3, 0.4, 1.0, 0.4 ) ) );
  30.     Cbzr2 = cbezier( list( ctlpt( E3, 1.0, 0.2, 0.2 ),
  31.                            ctlpt( E3, 1.0, 0.5, -1.0 ),
  32.                            ctlpt( E3, 1.0, 1.0, 0.3 ) ) );
  33.     Cbsp3 = cbspline( 4,
  34.                       list( ctlpt( E3, 0.1,  0.1, 0.1 ),
  35.                             ctlpt( E3, 0.25, 0.0, -1.0 ),
  36.                             ctlpt( E3, 0.5,  0.0, 2.0 ),
  37.                             ctlpt( E3, 0.75, 0.0, -1.0 ),
  38.                             ctlpt( E3, 1.0,  0.2, 0.2 ) ),
  39.                       list( KV_OPEN ) );
  40.     Cbsp4 = cbspline( 4,
  41.                       list( ctlpt( E3, 0.4,  1.0, 0.4 ),
  42.                             ctlpt( E3, 0.25, 1.0, 1.0 ),
  43.                             ctlpt( E3, 0.5,  1.0, -2.0 ),
  44.                             ctlpt( E3, 0.75, 1.0, 1.0 ),
  45.                             ctlpt( E3, 1.0,  1.0, 0.3 ) ),
  46.                       list( KV_OPEN ) );
  47.     Srf = BOOLSUM( Cbzr1, Cbzr2, Cbsp3, Cbsp4 );
  48.